﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
// using AUSRIS.Data.Web.AUSRISwcf;
using System.Configuration;
using System.Data.Services.Client;

namespace AUSRIS.Data.Web
{
    public partial class _Default : System.Web.UI.Page
    {

        // private AUSRISEntities context;

        protected void Page_Load(object sender, EventArgs e)
        {
			//Uri serviceUri = new Uri("http://localhost:50000/AUSRISwcf.svc");
			//this.context = new AUSRISEntities(serviceUri);
			//this.context.MergeOption = MergeOption.AppendOnly;

            if(!IsPostBack)
            {
                // BindTreeList();
            }
        }

		//private IList<au_Person> GetPeople()
		//{
		//    var people = from p in this.context.au_Person
		//                 orderby p.LastName
		//                 select p;

		//    return people.ToList();

		//}

		//private void BindTreeList()
		//{
		//    IList<au_Person> people = GetPeople();
		//    this.ASPxTreeList1.DataSource = people;
		//    this.ASPxTreeList1.DataBind();
		//}
    }
}
